﻿@model IEnumerable<SanQiOther.Models.v_member>
@{
    Layout = null;
}
<table id="roleList1" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.bh)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.name)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.sfz)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.deptmc)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.islz)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.isbx)
            </th>
            <th>

            </th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.id)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.bh)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.name)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.sfz)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.deptmc)
                </td>

                <td>
                    @{
                        @Html.Raw(PubClass.GetLz(item.isbx.ToString()))
                    }
                </td>
                <td>
                    @{
                        @Html.Raw(PubClass.GetBx(item.islz.ToString()))
                    }

                </td>
                <td>
                    @Html.ActionLink("标记", "Detail", new { id = item.id })
                </td>
            </tr>
                        }
    </tbody>
</table>